<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    window.innerHeight
    732
    window.outerHeight
    669
    window.innerWidth
    368
    window.outerWidth
    1125
    window.alert(1)
    undefined

<!-- navigator,封装了浏览器的信息，大多数不会用，会被人为修改 -->
    navigator.appName
    "Netscape"
    navigator.appVersion
    "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36"
    navigator.userAgent
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36"
    navigator.platform
    "Win32"

<!-- screen,代表屏幕尺寸 -->
    screen.width
    1366
    screen.height
    768

<!-- location 代表当前页面的URL信息-->
    Location {href: "http://127.0.0.1:5500/Demo01/0721.html", ancestorOrigins: DOMStringList, origin: "http://127.0.0.1:5500", protocol: "http:", host: "127.0.0.1:5500", …}
    ancestorOrigins: DOMStringList {length: 0}
    assign: ƒ assign()。。。。设置新的地址
    fragmentDirective: FragmentDirective {}
    hash: ""
    host: "127.0.0.1:5500"
    hostname: "127.0.0.1"
    href: "http://127.0.0.1:5500/Demo01/0721.html"
    origin: "http://127.0.0.1:5500"
    pathname: "/Demo01/0721.html"
    port: "5500"
    protocol: "http:"
    reload: ƒ reload()。。。。刷新网页
    replace: ƒ replace()
    search: ""
    toString: ƒ toString()
    valueOf: ƒ valueOf()
    Symbol(Symbol.toPrimitive): undefined
    __proto__: Location

<!-- docunment代表当前的页面，HTML DOM文档 -->
    document.title='wufan'
    "wufan"

<!-- history代表浏览器的历史记录 -->
    history.back()。。。后退
    undefined
    history.forward。。。前进
    ƒ forward() { [native code] }
</body>
</html>